<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>增加数据</title>
  <link rel="stylesheet" href="css/basic.css"/>
</head>
<body>
  <h2 class="title">编辑数据</h2>
  <form action="/doEdit" method="post" class="form">
    <input type="hidden" name="id" value="{{@data._id}}"/>
    姓名：<input type="text" name="name" value="{{@data.name}}"/><br><br>
    年龄：<input type="number" name="age" value="{{@data.age}}"/><br><br>
    性别：<input type="text" name="sex" value="{{@data.sex}}"/><br><br>
    <input type="submit" value="提交"/>　<input type="button" value="返回" onclick="window.history.go(-1)"/>
  </form>
</body>
</html>